From: Florian Müllner Date: Sat, 2 Mar 2019 20:15:03 +0000 (+0100) Subject: windowAttentionHandler: Don't destroy on open X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~888^2^2~34 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=26e33ff0933d3386cd2428b96b2280dc8d9aebaa;p=gnome-shell.git windowAttentionHandler: Don't destroy on open The activateWindow() call is expected to focus the window, which already destroys the source. If we then destroy it again explicitly, we get another "invalid access" warning. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/430 --- diff --git a/js/ui/windowAttentionHandler.js b/js/ui/windowAttentionHandler.js index 27b342b00..abdb8a444 100644 --- a/js/ui/windowAttentionHandler.js +++ b/js/ui/windowAttentionHandler.js @@ -101,6 +101,5 @@ var Source = class WindowAttentionSource extends MessageTray.Source { open() { Main.activateWindow(this._window); - this.destroy(); } };